<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%><%@ taglib prefix="c"
	uri="http://java.sun.com/jsp/jstl/core"%><%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="${pageContext.request.contextPath}/">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>页眉</title>
<link type="text/css" rel="stylesheet" href="css/style.css">
</head>
<body>
	<center>
		<table border="0" width="100%" cellspacing="0" cellpadding="0">
			<!-- 顶部菜单 -->
			<tr height="20">
				<td style="text-indent: 10" valign="bottom"><a href=""
					onclick="window.parent.location.href='admin/addInfo'"
					style="color: gray">[发布信息]</a> <a href=""
					onclick="window.parent.location.href='login'" style="color: gray">[进入后台]</a></td>
				<td align="right" valign="bottom"><a
					href="javascript:window.external.AddFavorite('${pageContext.request.contextPath}','都市供求信息网')"
					style="color: gray">收藏本页 -</a> <a href="mailto:doobo@foxmail.com"
					style="color: gray">联系我们</a> &nbsp;</td>
			</tr>
			<!-- 导航菜单 -->
			<tr height="56">
				<td align="center" width="220"><img alt="logo"
					src="images/logo.gif"
					onclick="window.parent.location.href=' ${pageContext.request.contextPath}'"></td>
				<td align="right" background="images/menu.gif">
					<table border="0" width="600">
						<tr align="center">
						<c:if test="${empty requestScope.type }">
							<td width="100"><a href="" style="color: white">暂时没有信息</a></td>
						</c:if>
						<c:if test="${!empty requestScope.type }">
							<c:forEach items="${requestScope.type}" var="temp" varStatus="a">
								<td width="100"><a href="" onclick="window.parent.location.href='listshow?type=${temp.type_sign}'"
									style="color: white">${temp.type_name}</a></td>
									<c:if test="${ fn:length(type) != (a.index+1) &&(a.index+1)%8 == 0}">
										<% out.print("</tr><tr align=\"center\">");  %>
									</c:if>
							</c:forEach>
						</c:if>
						</tr>
					</table>

				</td>
			</tr>
		</table>
		<table border="0" width="100%" height="90" cellspacing="0"
			cellpadding="0" style="margin-top: 1">
			<tr>
				<td align="center"><img src="images/pcard1.jpg"></td>
			</tr>
		</table>
	</center>
</body>
</html>